package eu.sudparis.it.opp.ex;

import java.util.HashMap;

public class RegularityTable<T> {
	public HashMap<T, Double> regularity = new HashMap<T, Double>();

	public void addRegular(T t) {
		if(!this.regularity.containsKey(t))
			this.regularity.put(t, 1.0);
		else{
			this.regularity.put(t, this.regularity.get(t)+1);
		}
	}
}
